package com.yy.dao;

import com.yy.pojo.Goods;
import com.yy.pojo.ShoppingCart;
import com.yy.vo.Shopping;

import java.util.List;

public interface GoodsDao {
    List<Goods> getAllGoods();
    List<Goods> getGoodsByConditon(String condition);

    Goods getGoodsDetails(String gid);

    boolean addShoppingCart(String gid, String num);

    List<Shopping> getShoppingCart();
}
